<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>活动报名</title>

    <!-- Bootstrap -->
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

    <!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元素和媒体查询（media queries）功能 -->
    <!-- 警告：通过 file:// 协议（就是直接将 html 页面拖拽到浏览器中）访问页面时 Respond.js 不起作用 -->
    <!--[if lt IE 9]>
      <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
      <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
    <div class="panel panel-info">
        <div class="panel-heading">活动报名</div>
        <div class="panel-body">
            <form class="form-horizontal">
                <div class="form-group">
                    <label for="inputName" class="col-sm-1 control-label"><span style="color: red;">*</span>&nbsp;姓名</label>
                    <div class="col-sm-11">
                        <input type="text" class="form-control" id="inputName" placeholder="请输入姓名">
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputWorkplace" class="col-sm-1 control-label"><span style="color: red;">*</span>&nbsp;工作单位</label>
                    <div class="col-sm-11">
                        <input type="text" class="form-control" id="inputWorkplace" placeholder="请输入工作单位">
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputJob" class="col-sm-1 control-label">职务</label>
                    <div class="col-sm-11">
                        <input type="text" class="form-control" id="inputJob" placeholder="请输入职务">
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputPhone" class="col-sm-1 control-label"><span style="color: red;">*</span>&nbsp;联系电话</label>
                    <div class="col-sm-11">
                        <input type="text" class="form-control" id="inputPhone" placeholder="请输入联系电话">
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputMail" class="col-sm-1 control-label">联系邮箱</label>
                    <div class="col-sm-11">
                        <input type="text" class="form-control" id="inputMail" placeholder="请输入联系邮箱">
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputAddr" class="col-sm-1 control-label">联系地址</label>
                    <div class="col-sm-11">
                        <input type="text" class="form-control" id="inputAddr" placeholder="请输入联系地址">
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputMemo" class="col-sm-1 control-label">备注</label>
                    <div class="col-sm-11">
                        <textarea class="form-control" rows="6" id="inputMemo" placeholder="请输入备注"></textarea>
                    </div>
                </div>
            </form>
        </div>
    </div>

    <div>
        <div class="col-xs-6 col-sm-6 col-md-6">
            <button type="button" class="btn btn-primary btn-block" data-toggle="modal" data-target="#conformEnrollDlg">报名</button>
        </div>
        <div class="col-xs-6 col-sm-6 col-md-6">
            <button type="button" class="btn btn-danger btn-block" data-toggle="modal" data-target="#noMettingDlg">返回</button>
        </div>
    </div>
    <div class="modal fade" id="conformEnrollDlg" tabindex="-1" role="dialog" aria-labelledby="conformEnrollLabel">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="conformEnrollLabel">确认！</h4>
                </div>
                <div class="modal-body">
                    <p>确定报名该活动吗？</p>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">否</button>
                    <button type="button" class="btn btn-primary" onclick="submitEnrollInfo();" data-dismiss="modal">是</button>
                </div>
            </div>
        </div>
    </div>
    <!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
    <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
    <!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script>
        function submitEnrollInfo() {
            //$('#conformMettingDlg').modal('hide');
        }
    </script>
  </body>
</html>
